package com.example.testelc.domain;


import lombok.Data;

import java.util.ArrayList;
import java.util.List;
import java.util.Optional;

/**
 * @Author: 普发忠
 * @Date: 2021/11/05/19:29
 */
@Data
public class ResultVO<T> {
    List<T>data = new ArrayList<T>();
    Iterable Iterable;
    Optional optional;
   
    public ResultVO(List<T> data) {
        this.data = data;
    }
    
    public ResultVO( Iterable data) {
        this.Iterable = data;
    }
    
    public ResultVO( Optional data) {
        this.optional = data;
    }
}
